<%@ page contentType="text/html; charset=utf-8"%>
<%@ include file="../../header.jsp"%>
<meta charset="UTF-8" />
<script type="text/javascript" src="${ctx }/views/notice/notice.js"></script>
<script type="text/javascript" src="${ctx }/views/include/choosetype.js"></script>
<div class="container-fluid">
<div class="panel panel-info">
	
   <div class="panel-heading">
      <h3 class="panel-title">推送</h3>
   </div>
   <div class="row" style="text-align: center;">
   	<img alt="" src="${ctx }/image/push.png">
   </div>
    <div class="panel-body">
		<form class="form-inline" action="${ctx }/notice/push" id="defaultForm" method="post">
		<div class="form-group">
		    <label for="exampleInputName2">推送标题:</label>
		    <input type="text" class="form-control" name="title" placeholder="默认是“萌扣”" value="萌扣">
		  </div>
		  <div class="form-group">
		    <label for="exampleInputName2">推送类型:</label>
		     <select class="form-control bannerType" name="pushType">
				      <option value="">--推送类型--</option>
					  <option value="0">专题</option>
					  <option value="1">商品</option>
					  <option value="2">帖子</option>
					  <option value="3">活动</option>
					</select>
		  </div>
		   <div class="form-group">
		    <label for="exampleInputName2">推送内容:</label>
		    <input type="text" class="form-control" name="description" placeholder="推送内容">
		  </div>
		  <div class="form-group">
		    <label for="exampleInputName2">推送内容:</label>
		    <input type="text" class="form-control" name="bannerValue" placeholder="自动生成" readonly="readonly">
		  </div>
		  <button type="submit" class="btn btn-default">推送</button>
		</form>
   </div>
</div>
</div>
<%@ include file="../include/choosetype.jsp" %>
<script>
$(".mkbanner >li:eq(5)").addClass("active");
</script>